package com.leo.train.business.service;

import com.leo.train.business.dto.ConfirmOrderTicketDto;
import com.leo.train.business.entity.ConfirmOrder;
import com.leo.train.business.entity.DailySeat;
import com.leo.train.business.entity.DailyTrainTicket;

import java.util.List;

public interface AfterConfirmOrderService {
    // 5. 选中座位后，做事务处理
        // 5.1 座位表修改售卖情况sell字段
        // 5.2 余票详情表修改余票
        // 5.3 为会员增加购票记录（新增购票记录表）
        // 5.4 确认订单表修改状态为成功
    void afterDoConfirm(DailyTrainTicket dailyTrainTicket, List<DailySeat> finalSeatList, List<ConfirmOrderTicketDto> tickets, ConfirmOrder confirmOrder);
}
